home *** CD-ROM | disk | FTP | other *** search
- Path: ocbbs.gen.nz!not-for-mail
- From: steve@hn.ocbbs.gen.nz (Steve Detoni)
- Newsgroups: comp.lang.c++
- Subject: Re: Will JAVA kill C++?
- Date: 16 Mar 1996 22:46:47 +1300
- Message-ID: <4ie2m7$5re@hn.ocbbs.gen.nz>
- References: <313E44EA.14D110C0@netcom.com> <4hp18v$3di@frodo.smartlink.net> <4hq2j6$q93@galaxy.ucr.edu>
- NNTP-Posting-Host: hn.hn.planet.gen.nz
- X-Newsreader: TIN [version 1.2 PL2]
-
-
- : When one is interested in speed, one should avoid pointers (as
- : does. Fortran), since pointers kill opportunities for optimization.
- How can you say that .... Would you rather pass a large structures entire
- contents, or say just a 4 byte address pointer, now which would be faster?
- Or would you be so un-modula as to have such things as global variables.
-
- Optimisation is the art of using the language capabilities to their best,
- and C(++) has alot to offer, and pointers are a major one, especially in
- memory optimisation ....
-
- Steve.
-
- : : Java main advantage, and a large advantage it is, will be complete
- : : cross-platform compatibility. Meaning any JAVA program will run on any
- : : machine which has an interpreter programmed for it.
-
- : Just like C++, no? Either language can be compiled into an
- : efficiently interpretable pseudo-code. Perhaps, someone will retarget
- : g++ to the JAVA pseudo-machine, just to prove the point.
- I had a look at JAVA within a book at a book store, at first glance I
- thought it was c++, and could find little difference between the two
- syntaxitly in the what code saw. Why would anyone re-event a langauge
- (i.e. C)?
-
-
- Steve.
-